[LINUX] The crash note resource should be nested inside the hypervisor
authorIan Campbell <ian.campbell@xensource.com>
Tue, 5 Dec 2006 17:01:34 +0000 (17:01 +0000)
committerIan Campbell <ian.campbell@xensource.com>
Tue, 5 Dec 2006 17:01:34 +0000 (17:01 +0000)
resource.

This was exposed by 12709:98413fa7826c which corrected the length of
the hypervisor resource.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c

index 88a2423340c62894728b038330ee56fd938edced..1f4a828e552ee913680ae516d9575e447123a419 100644 (file)
@@ -106,7 +106,7 @@ void xen_machine_kexec_register_resources(struct resource *res)
        request_resource(res, &xen_hypervisor_res);
 
        for (k = 0; k < xen_max_nr_phys_cpus; k++)
-               request_resource(res, xen_phys_cpus + k);
+               request_resource(&xen_hypervisor_res, xen_phys_cpus + k);
 
 }